<template>
	<view>
		<Header title="地块详情"></Header>
		<view class="main_wrap">
			<view class="main">
				<view class="hd_tit">龙州镇xxxxxxx</view>
				<van-row gutter="5">
					<van-col span="12" v-for="item in 2">
						<view class="col_item">
							<view class="land_area">地块面积</view>
							<view class="land_count">10</view>
							<view class="land_unit">单位: 亩</view>
						</view>
					</van-col>
					
				</van-row>
				<van-row gutter="5">
					<van-col span="12" v-for="item in 2">
						<view class="grow_item">
							<view class="grow_l">
								<view>主苗</view>
								<view>↑ 80%</view>
							</view>
							<view class="grow_r">
								200
							</view>
						</view>
					</van-col>
				</van-row>
				<van-row>
					<van-col span="6" v-for="item in 4">
						<view class="class_count">
							<view class="class_name">桂热一号</view>
							<view class="count">200</view>
							<view class="unit">株</view>
						</view>
					</van-col>
				</van-row>
				<view class="tree_age">
					<view class="tree_age_item" v-for="item in 5">
						<view class="left">1年树龄 (新栽)</view>
						<view class="right">
							<text>35</text>
							<text>株</text>
						</view>
					</view>
				</view>
				<view class="land_record_wrap">
					<view class="land_record">地块维护记录</view>
					<view class="land_record_desc">
						<view class="record_item" v-for="item in 6">
							 <van-cell title="2020.12.30进行了施肥操作" value="操作"  value-class="value" :border="false" title-class="title" />
						</view>
					</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	import Header from "../../components/header.vue"
	export default {
		data() {
			return {
				
			}
		},
		components:{
			Header
		},
		methods: {
			
		}
	}
</script>

<style lang="scss" scoped>
	body{
		// background: #303edd;
	}
.main_wrap{
	padding: 0 10rpx 0;
	.main{
		border: 1px solid red;
		// height: 600rpx;
		.hd_tit{
			padding: 10rpx 0 10rpx 20rpx;
			background-color: #07C160;
			color: #fff;
			font-size: 26rpx;
		}
		.col_item{
			margin-top: 20rpx;
			border-radius: 15rpx;
			background-color: #007AFF;
			padding: 10rpx;
			color: #fff;
			
			.land_count{
				text-align: center;
				font-weight: bold;
			}
			.land_unit{
				text-align: right;
			}
		}
		.grow_item{
			border-radius: 5rpx;
			background-color: #007AFF;
			margin-top: 20rpx;
			margin-bottom: 20rpx;
			display: flex;
			justify-content: space-between;
			align-items: center;
			padding: 10rpx 90rpx 10rpx 20rpx;
			
			.grow_l{
				color: #000;
				
			}
			.grow_r{
				font-weight: bold;
				color: #000;
			}
		}
		.class_count{
			background-color: #bfa;
			border-radius: 15rpx;
			padding: 10rpx;
			line-height: 50rpx;
			.count{
				text-align: center;
			}
			.unit{
				text-align: right;
			}
		}
		.tree_age{
			border-radius: 15rpx;
			margin-top: 20rpx;
			// height: 300rpx;
			border: 1px solid #007AFF;
			background-color: #bfa;
			padding: 30rpx;
			
			
			
			.tree_age_item{
				display: flex;
				justify-content: space-between;
				align-items: center;
				border-bottom: 1px solid gray;
				padding-bottom: 15rpx;
				margin-bottom: 15rpx;
				color: #fff;
				
				&:last-child{
					margin-bottom: 0;
					border: none;
				}
				
				.right{
					text{
						&:first-child{
							margin-right: 80rpx;
						}
					}
				}
			}
		}
		.land_record_wrap{
			
			.land_record{
				padding: 10rpx 0 10rpx 20rpx;
				background-color: #fff;
				color: #007AFF;
				font-size: 26rpx;
				margin-top:15rpx;
				font-weight: bold;
			}
			.land_record_desc{
				padding: 20rpx 10rpx;
				border: 1px solid orange;
				
				.record_item{
					margin-bottom: 10rpx;
					.title,.value{
						font-size: 26rpx;
						color: #000000;
					}
					/deep/ .van-cell{
						border: 1px solid red;
						padding-left: 20rpx;
						
					}
				}
			}
		}
	
	}	
}
</style>
